Central Article

Creating a Two-Way Video Chat Application in Macromedia Central


Table of Contents

  1. Introduction
  2. The vChat Application
  3. The Client Side: Building the Application
  4. The Client Side: Building the Pod
  5. Lessons Learned

Lessons Learned

In this article I showed you Central code as much as I gave you some Flash Communication Server tricks. If you remove the notifications, this could be a pretty cool regular Flash Communication Server application, but Central takes it "to the next level."

Here are a few lessons I hope you take away from this tutorial:

  • Central provides you with things that were impossible to do before in the Flash world, such as easy distribution and notifications.
  • With Flash Communication Server you can do the following:
    • Assign unique IDs for your users on the server side
    • Have a smart onSync method
    • Save some data in a local client-side cache (the usersIKnow method)
    • Define an onDisconnect method on the server side (people don't always leave "politely")
    • Disable some UI if you want to limit the chat to one-to-one (the vChat button)

Consider this tutorial as a starting point. You should be able to expand it into a full-fledged application with all the bells and whistles you can muster.

For instance, you could add an option to allow text chat instead of video chat (for those who don't have a camera), or maybe just audio chat (for those who are shy). You could also make the application page into much more than just a simple help page.

If you have trouble deploying your Flash Communication Server application or your Central application and pod, refer to the documentation both on the Macromedia website and on the Central SDK. These manuals are really well done.